<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>

<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>

<xsl:template match='nbsp' name='nbsp'>
<xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
</xsl:template>

<xsl:template match="myPolls">
	<table bgcolor="#EEEEEE" class="body" border="0" cellspacing="0" cellpadding="4">
	<tr><td colspan="2" align="center"><b>Eliminazione sondaggio</b></td></tr>
	<tr bgcolor="#EEEEEE" height="10px"><td colspan="2" align="center"><img src="/imgs/white_sp.gif" width="75%" height="1" vspace="3" hspace="0"/></td></tr>
	<xsl:for-each select="row">
		<xsl:if test="@form=/myPolls/@pollid2delete">
		<tr bgcolor="#FFFFFF">
		<td>Titolo:</td>
		<td><xsl:value-of select="@title"/></td>
		</tr>
		<tr bgcolor="#FFFFFF">
		<td>Domanda del sondaggio:</td>
		<td><xsl:value-of select="@quest"/></td>
		</tr>
		<tr bgcolor="#FFFFFF">
		<td>Descrizione:</td>
		<td><xsl:value-of select="@descr"/></td>
		</tr>
		<tr bgcolor="#FFFFFF">
		<td>Tipo:</td>
		<td><xsl:value-of select="@typetxt"/></td>
		</tr>
		<tr bgcolor="#FFFFFF">
		<td>Votano anche i non registrati:</td>
		<td><xsl:value-of select="@anontxt"/></td>
		</tr>
		</xsl:if>
	</xsl:for-each>
	<tr bgcolor="#EEEEEE" height="10px"><td colspan="2" align="center"><img src="/imgs/white_sp.gif" width="75%" height="1" vspace="3" hspace="0"/></td></tr>
	<tr><td colspan="2" align="center">
		<a href="/tests/myPolls.aspx?pollid={/myPolls/@pollid2delete}&amp;confirmdeletion=1" style="color:black;"><img border="0" src="/tests/imgs/elimina.gif"/> il sondaggio</a></td>
		</tr>
	<tr><td colspan="2" align="center">
		<a href="/tests/myPolls.aspx">Torna alla pagine dei tuoi sondaggi</a></td>
		</tr>
	</table>
</xsl:template>

</xsl:stylesheet>